Skip to content

Conversation

@thewhaleking
Copy link
Collaborator

Since creating the new Runtime objects, we use these directly to query the metadata. Therefore it's proper to move all get_metadata_* methods to SubstrateMixin.

The only exception is get_metadata_storage_function because it's already just two lines.

Also updated type annotations for all of these.

@thewhaleking thewhaleking requested a review from a team October 23, 2025 20:42
@github-actions github-actions bot added run-bittensor-cli-tests Runs BTCLI tests. run-bittensor-sdk-tests Runs Bittensor SDK tests. labels Oct 23, 2025
Copy link
Contributor

@basfroman basfroman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thewhaleking thewhaleking merged commit 25d55a1 into staging Oct 24, 2025
65 checks passed
@thewhaleking thewhaleking deleted the chore/thewhaleking/move-metadata-methods branch October 24, 2025 17:58
@thewhaleking thewhaleking mentioned this pull request Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-bittensor-cli-tests Runs BTCLI tests. run-bittensor-sdk-tests Runs Bittensor SDK tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants